package org.example.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.example.domain.po.ErpSupplier;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 14120
* @description 针对表【erp_supplier(供应商/客户/会员表)】的数据库操作Mapper
* @createDate 2024-10-22 15:26:30
* @Entity org.example.domain.po.ErpSupplier
*/
public interface ErpSupplierMapper extends BaseMapper<ErpSupplier> {

    List<ErpSupplier> selectByExample();
    List<ErpSupplier> selectByExample2();
    List<ErpSupplier> selectByExample3();


    //分页条件查询
    Page<ErpSupplier> findByPage(Page<ErpSupplier> page, @Param("supName") String supName,@Param("supPhonenumber") String supPhonenumber,@Param("supContactnumber") String supContactnumber,@Param("supType") Integer supType,@Param("tenantId") Long tenantId);

    List<ErpSupplier> findSupplier(@Param("supType") Integer supType);

    List<ErpSupplier> findSuppliers();

    List<ErpSupplier> findSupplier3();
    List<ErpSupplier>findBy();
}




